<html lang="zh-CN">

<head>
  <meta charset="UTF-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
  <meta name="renderer" content="webkit" />
  <meta name="viewport"
    content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
  <meta name="format-detection" content="telephone=no" />
  <meta name="apple-mobile-web-app-capable" content="yes" />
  <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  <title>考试管理系统</title>
  <link rel="stylesheet" type="text/css" href="./lib/layui/css/layui.css" />
  <link rel="stylesheet" type="text/css" href="./style/knowlegPoints.css" />
</head>

<body>
  <div class="add-exam">
    <div id="location">当前位置：首页 > 考试管理 > 考试计划管理 > 添加考试计划</div>
    <div id="content">
      <div class="btnbar">
        <div class="btnbar">
          <button class="save">
            <em class="ico16 save_traft_16"></em>
            <span class="menu_span" title="保存">保存</span>
          </button>
          <button class="back" onclick="javascript:location='/Knowledges/';">
            <em class="ico16 cancle_publish_16"></em>
            <span class="menu_span" title="返回">返回</span>
          </button>
        </div>
      </div>
      <table class="treeTable inputform" width="100%" cellpadding="0" cellspacing="0">
        <thead>
          <tr>
            <td colspan="4" class="table-title">基本信息</td>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td width="150">计划名称：</td>
            <td><input type="text" name="name" datatype="*" nullmsg="计划名称不能为空！" class="Validform_error"></td>
            <td width="100">开考时间：</td>
            <td width="265" style="position: relative;">
              <input type="text" class="layui-input" id="layd">
              <i class="date-icon ico16"></i>
            </td>
          </tr>
        </tbody>
      </table>

      <table id="subjectroom" class="treeTable inputform" cellpadding="0" cellspacing="0" width="100%"
        style="margin-top:10px;">
        <thead>
          <tr>
            <td colspan="5" class="table-title">考场设置</td>
            <td width="50"><button type="button" class="hide-table ico16"></button></td>
            <!-- <td width="50"><button type="button" class="show-table ico16"></button></td> -->
          </tr>
        </thead>
        <tbody>
          <tr>
            <td width="150">考场名称</td>
            <td width="920">考场地点</td>
            <td width="100">座位数</td>
            <td width="100">监考人数量</td>
            <td width="100">顺序号</td>
            <td width="50" class="btn"><button type="button" class="add"></button></td>
          </tr>
          <tr>
            <td><input type="text" name="rname1" datatype="*" nullmsg="考场名称不能为空！"></td>
            <td><input type="text" name="rloc1" datatype="*" nullmsg="考场地点不能为空！" class="Validform_error"></td>
            <td><input type="text" name="rcount1" datatype="zzzs" nullmsg="座位数不能为空！" errormsg="请填写正整数！"
                class="Validform_error"></td>
            <td><input type="text" name="rteacher1" datatype="zzzs" nullmsg="监考人数量不能为空！" errormsg="请填写正整数！"
                class="Validform_error"></td>
            <td><input type="text" name="rsort1" datatype="zzzs" nullmsg="顺序号不能为空！" errormsg="请填写正整数！"
                class="Validform_error"></td>
            <td class="btn"><button type="button" class="del"></button></td>
          </tr>
        </tbody>
      </table>

      <table id="subjectteacher" class="treeTable inputform" cellpadding="0" cellspacing="0" width="100%"
        style="margin-top:10px;">
        <thead>
          <tr>
            <td colspan="4" class="table-title">监考人员设置</td>
            <td width="50"><button type="button" class="hide-table ico16"></button></td>
            <!-- <td width="50"><button type="button" class="show-table ico16"></button></td> -->
          </tr>
        </thead>
        <tbody>
          <tr>
            <td width="150">监考员编码</td>
            <td width="920">监考员姓名</td>
            <td width="100">监考员电话</td>
            <td width="100">监考员证件号</td>
            <td width="50" class="btn"><button type="button" class="add"></button></td>
          </tr>
          <tr>
            <td><input type="text" name="tcode1" readonly="readonly" datatype="*" nullmsg="监考员编码不能为空！" value="JKR001">
            </td>
            <td><input type="text" name="tname1" datatype="*" nullmsg="监考员姓名不能为空！"></td>
            <td><input type="text" name="ttel1" datatype="*" nullmsg="监考员电话不能为空！" errormsg="请填写正整数！"></td>
            <td><input type="text" name="tcardcode1" datatype="*" nullmsg="监考员证件号不能为空！" errormsg="请填写正整数！"
                class="Validform_error"></td>
            <td class="btn"><button type="button" class="del"></button></td>
          </tr>
        </tbody>
      </table>

      <table id="subjectinfo" class="treeTable inputform" cellpadding="0" cellspacing="0" width="100%" style="margin-top:10px;">
        <thead>
          <tr>
            <td colspan="2" class="table-title">考试科目设置</td>
            <td width="50"><button type="button" class="hide-table ico16"></button></td>
            <!-- <td width="50"><button type="button" class="show-table ico16"></button></td> -->
          </tr>
        </thead>
        <tbody>
          <tr>
            <td width="150">科目名称</td>
            <td>考试试卷</td>
            <td width="50" class="btn"><button type="button" class="add"></button></td>
          </tr>
          <tr>
            <td style="position: relative;">
              <input type="hidden" name="sid1" datatype="*" nullmsg="考试科目不能为空！">
              <input type="text" name="sname1" class="select Validform_error subject" datatype="*" nullmsg="考试科目不能为空！">
              <i class="down-icon"></i>
            </td>
            <td style="position: relative;">
              <input type="hidden" name="spaperid1" datatype="*" nullmsg="考试试卷不能为空！">
              <input type="text" name="spapername1" class="select Validform_error test" datatype="*" nullmsg="考试试卷不能为空！">
              <i class="down-icon"></i>
            </td>
            <td class="btn"><button type="button" class="del"></button></td>
          </tr>
        </tbody>
      </table>
    </div>
  </div>

  <div id="select-subject" class="other-page">
    <div>
      <form id="subjectSearchbox" action="">
        <table width="100%" class="treeTable searchform" cellpadding="0" cellspacing="0">
          <thead>
            <tr>
              <td width="80">科目名称：</td>
              <td width="140"><input type="text" name="key" class="search-input" placeholder="请输入关键字"></td>
              <td>
                <button id="searchbtn" class="search">
                  <em class="ico16 search_16"></em>
                  <span class="menu_span" title="查询">查询</span>
                </button>
              </td>
            </tr>
          </thead>
        </table>
      </form>
    </div>
    <table id="subject-table" lay-filter="subject-table"></table>
  </div>

  <div id="select-test" class="other-page">
    <div>
      <form id="testSearchbox" action="">
        <table width="100%" class="treeTable searchform" cellpadding="0" cellspacing="0">
          <thead>
            <tr>
              <td width="60">关键字：</td>
              <td width="140"><input type="text" name="key" class="search-input" placeholder="请输入关键字"></td>
              <td>
                <button id="searchbtn" class="search">
                  <em class="ico16 search_16"></em>
                  <span class="menu_span" title="查询">查询</span>
                </button>
              </td>
            </tr>
          </thead>
        </table>
      </form>
    </div>
    <table id="test-table" lay-filter="test-table"></table>
  </div>

  <script type="text/javascript" src="./lib/jquery-3.2.1.min.js"></script>
  <script type="text/javascript" src="./lib/layui/layui.js"></script>
  <script type="text/javascript" src="./js/addExamPlan.js"></script>
</body>

</html>